bin_PROGRAMS = uls_stream
uls_stream_SOURCES = uls_stream.c
uls_stream_CPPFLAGS = -I$(top_srcdir)/src
uls_stream_LDADD = $(top_srcdir)/src/libuls.la

ACLOCAL_AMFLAGS = -I m4

$(uls_stream_OBJECTS) : sample_lex.h

%_lex.h : %.ulc
	$(top_srcdir)/ulc2class/ulc2class -c $<

check:
	bash ./run_tests.sh
